# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年10月13日
"""
import pandas as pd

path = '../数据文件/课件023-024/02字符串.xlsx'

data = pd.read_excel(path)

# print(data['姓名'].str.pad(5, fillchar='&'))
# print(data['姓名'].str.pad(5, fillchar='&', side='right'))
print(data['姓名'].str.pad(5, fillchar='&', side='both'))

